package com.changgou;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author 李民康
 * @date 2022/1/9 17:57
 */
@EnableSwagger2Doc
@SpringBootApplication
@EnableEurekaClient//开启eureka客户端
@MapperScan(basePackages = {"com.changgou.dao"})
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class,args);
        System.out.println("====================================GoodsApplication启动成功====================================");
    }
}
